<{include file="admincp_header.htm"}>
<script language="javascript">
function deletevariable(variable) {
	if(confirm('<{$lan.suredelvariable}>')) {
		document.location='admincp.php?action=variables&job=delete&vc=<{$vc}>&variable=' + variable;
	}
}
</script>
<body>
<div class="block"></div>
<table cellspacing="1" cellpadding="4" class="commontable width100">
	<tr class="header">
		<td colspan="3"><div class="righttop"><a href="http://www.akcms.com/manual/custom-variables.htm" target="_blank"><{$lan.help}></a></div><{$lan.system_variables}></td>
	</tr>
	<tr>
		<td>
		<table cellpadding="4" cellspacing="1" class="commontable width100">
			<tr class="header">
				<td width="30">ID</td>
				<td width="100"><{$lan.variable}></td>
				<td width="100"><{$lan.description}></td>
				<td width="30"><{$lan.value}></td>
				<td width="30"><{$lan.edit}></td>
				<td width="30"><{$lan.delete}></td>
			</tr>
			<{$variables}>
		</table>
		<div class="block"></div>
		<form action="admincp.php?action=variables&job=new" method="post">
		<table cellpadding="4" cellspacing="1" class="commontable width100">
			<tr class="header">
				<td colspan="2"><{$lan.addnewvariable}></td>
			</tr>
			<tr>
				<td><{$lan.variable}></td>
				<td><input type="text" name="variable" size="20" class="mustoffer"></td>
			</tr>
			<tr>
				<td><{$lan.description}></td>
				<td><textarea name="description" cols="60" rows="3" class="mustoffer"></textarea></td>
			</tr>
			<tr>
				<td><{$lan.value}></td>
				<td><textarea name="value" cols="60" rows="3" class="mustoffer"></textarea></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
				<input type="submit" name="addnewtemplate" value="<{$lan.save}>">
				</td>
			</tr>
		</table>
		</form>
		</td>
	</tr>
</table>
</body>
</html>